<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    {{info}}<b>{{info}}</b>
    <p>{{info}}</p>
    <!--v-text让元素的文本内容和变量进行绑定-->
    <p v-text="info"></p>
    <!--v-html让元素的标签内容和变量进行绑定-->
    <p v-html="info"></p>
</div>
<script src="js/vue.min.js"></script>
<script>
    let v = new Vue({
        el: "body>div",
        data: {
            info: "文本相关<b>加粗</b>"
        }
    })
</script>

</body>
</html>